home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / Tool Chest / Development Platforms / AppsToGo / AppsToGo.src / DTS.Draw / App.protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-18  |  2.0 KB  |  88 lines  |  [TEXT/MPS ]

  1. #ifndef __APPPROTOS__
  2. #define __APPPROTOS__
  3.  
  4.  
  5. #ifndef __DLPROTOS__
  6. #include "DTS.Lib.protos.h"
  7. #endif
  8.  
  9. /* NOTE:  These prototypes are in a single file as they are the standard functions
  10. **        functions for this application shell.  You may wish to have separate
  11. **        files for the prototypes of functions you add to the shell.  They are all
  12. **        here in a single file for simplicity. */
  13.  
  14.  
  15.  
  16. /************** Clipboard.c **************/
  17.  
  18. OSErr            GetClipboardWindow(WindowPtr *clipWind);
  19. OSErr            ClipboardInitDocument(FileRecHndl frHndl);
  20. void            DoClipboard(FileRecHndl frHndl, short menuItem);
  21.  
  22.  
  23.  
  24. /************** Color.c **************/
  25.  
  26. OSErr            ChangeColor(FileRecHndl frHndl, WindowPtr window, short part);
  27.  
  28.  
  29.  
  30. /************** DoEvent.c **************/
  31.  
  32. void            DoEvent(EventRecord *event);
  33.  
  34.  
  35.  
  36. /************** EventLoop.c **************/
  37.  
  38. void            EventLoop(void);
  39.  
  40.  
  41.  
  42. /************** IdleTasks.c **************/
  43.  
  44. void            DoIdleTasks(EventRecord *event);
  45.  
  46.  
  47.  
  48. /************** Menu.c **************/
  49.  
  50. Boolean            DoAdjustFileMenu(WindowPtr window);
  51. Boolean            DoAdjustEditMenu(WindowPtr window);
  52. Boolean            DoAdjustArrangeMenu(WindowPtr window);
  53. Boolean            DoAdjustOtherMenu(WindowPtr window);
  54.  
  55.  
  56.  
  57. /************** PenSizeDialog.c **************/
  58.  
  59. OSErr            PENSInitContent(FileRecHndl frHndl, WindowPtr window);
  60. OSErr            PENSFreeWindow(FileRecHndl frHndl, WindowPtr window);
  61.  
  62.  
  63.  
  64. /************** ToolPalette.c **************/
  65.  
  66. OSErr            ToolInitDocument(FileRecHndl frHndl);
  67. void            SetPaletteTool(short tool);
  68. short            GetTool(void);
  69. Boolean            GetToolPersistence(void);
  70.  
  71.  
  72.  
  73. /************** Window.c **************/
  74.  
  75. OSErr            DuplicateDocument(FileRecHndl oldFrHndl, FileRecHndl *newFrHndl);
  76. void            DoDelete(FileRecHndl frHndl);
  77. void            DoArrange(FileRecHndl frHndl, short menuItem);
  78. Rect            GetSelectedArea(TreeObjHndl root);
  79. Rect            GetDataArea(TreeObjHndl root);
  80. void            SetDataArea(TreeObjHndl root, short h, short v);
  81. void            DoGroup(FileRecHndl frHndl);
  82. void            DoUngroup(FileRecHndl frHndl);
  83. void            NewDocumentUndo(FileRecHndl frHndl);
  84.  
  85.  
  86.  
  87. #endif
  88.